import { BUTTON, MENU, SIDE_MENU, SIDE_MENU_ACTIVATION } from '@/store/methodConstant'

const menu = {
  state:{
    menuList:[],
    sideMenuList:[],
    sideMenuActivation:0,
    buttonList:[],
  },
  mutations: {
    [MENU](state,menuList){
      state.menuList = menuList
    },
    [SIDE_MENU](state,sideMenuList){
      state.sideMenuList = sideMenuList
    },
    [BUTTON](state,buttonList){
      state.buttonList = buttonList
    },
    [SIDE_MENU_ACTIVATION](state,data){
      state.sideMenuActivation = data
    }
  },
  actions: {
  },
}

export default menu
